﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MaxLeaf.Platform.DataContract;
using CommonsLib.DB;
using MaxLeaf.Platform.DALImplementation;
using MaxLeaf.Platform.Functions;
using CommonsLib.Utility;
using MaxLeaf.Platform.Commons;
using MaxLeaf.Platform.Contract;

namespace MaxLeaf.Platform.BLLImplementation
{
    public class SCPmLogBLL : BaseBLL, ISCPmLog
    {
        #region ISCPmLog 成员

        public SCPmLogDataModel Select(SCPmLogDataModel model, int intKeyValue)
        {
            throw new NotImplementedException();
        }

        public SCPmLogDataModel Add(SCPmLogDataModel model)
        {
            using (DBAccess dbcon = new DBAccess(DataFunc.GetConnectionInfo(Const.DB_SCPLog)))
            {
                SCPmLogDAL scpDAL = new SCPmLogDAL();
                return scpDAL.Add(dbcon, model);
                
            }
        }

        public SCPmLogDataModel Update(SCPmLogDataModel model)
        {
            throw new NotImplementedException();
        }

        public SCPmLogDataModel Delete(SCPmLogDataModel model)
        {
            throw new NotImplementedException();
        }

        #endregion


        #region ISCPmLog 成员


        public bool UpdateDetail(SCPmLogDataModel model, string strOOO)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
